<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
<!--  <script type = "text/javascript" src = "js.js"></script> -->
</head>

<body>
		
	<img src = "img1.jpg" width = "100" height = "100">
	
	<input type = "button" value = "Click Me" onClick = "fn()">
	<script>
	function fn(){
		//document.write("<h1> Redirection </h1>");
		window.document.images[0].src = "img1.jpg";
	}
		
	</script>
	
</body>
</html>